package cn.chiship.framework.common.service;


import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * controller
 * 2020/8/5
 *
 * @author lijian
 */
public interface ExportService {

    /**
     * 导出资源
     *
     * @param response
     * @param exportType
     * @param fileName
     * @param sheetName
     * @param sheetTitle
     * @param labels
     * @param valueList
     * @throws Exception
     */
    void exportByType(HttpServletResponse response, String exportType, String fileName, String sheetName, String sheetTitle, List<String> labels, List<List<String>> valueList) throws Exception;
}
